Recognizing Union-Find Trees Built Up Using Union-By-Rank Strategy is NP-Complete
نویسندگان
چکیده
Disjoint-Set forests, consisting of Union-Find trees, are data structures having a widespread practical application due to their efficiency. Despite them being well-known, no exact structural characterization of these trees is known (such a characterization exists for Union trees which are constructed without using path compression) for the case assuming union-by-rank strategy for merging. In this paper we provide such a characterization by means of a simple push operation and show that the decision problem whether a given tree (along with the rank info of its nodes) is a Union-Find tree is NP-complete, complementing our earlier similar result for the union-by-size strategy.
منابع مشابه
Recognizing Union-Find trees is NP-complete
Disjoint-Set forests, consisting of Union-Find trees are data structures having a widespread practical application due to their efficiency. Despite them being well-known, no exact structural characterization of these trees is known (such a characterization exists for Union trees which are constructed without using path compression). In this paper we provide such a characterization and show that...
متن کاملTwo Strategies to Speed up Connected Component Labeling Algorithms
This paper presents two new strategies to speed up connected component labeling algorithms. The first strategy employs a decision tree to minimize the work performed in the scanning phase of connected component labeling algorithms. The second strategy uses a simplified union-find data structure to represent the equivalence information among the labels. For 8-connected components in a two-dimens...
متن کاملON THE SYSTEM OF LEVEL-ELEMENTS INDUCED BY AN L-SUBSET
This paper focuses on the relationship between an $L$-subset and the system of level-elements induced by it, where the underlying lattice $L$ is a complete residuated lattice and the domain set of $L$-subset is an $L$-partially ordered set $(X,P)$. Firstly, we obtain the sufficient and necessary condition that an $L$-subset is represented by its system of level-elements. Then, a new representat...
متن کاملCS 157 : Assignment 2 Douglas R . Lanman
The union-find data structure, utilizing the “union-by-rank” and “path compression” heuristics, is one of the most efficient disjoint-set data structures known [1]. In general, union-find can be applied to any problem in which one must determine membership within a set. For instance, in class we studied its application within Kruskal’s algorithm, where it was used to efficiently detect connecte...
متن کاملMaking Optimal Decisions of Assembly Products in Supply Chain
The strategic pricing decisions of assembly products in assembly products supply chain are studied in this paper. Firstly, a two-stage assembly products supply chain model is developed. By building Nash game model, the Nash equilibrium solution of pricing strategy of supplier and assemblers is obtained. Next, a union decision model is built to analyze the optimal combination pricing strategy of...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2017